package com.ibeeking.found.content.b.rest.service;

import com.ibeeking.found.content.service.common.param.ArticleGroupParam;
import com.ibeeking.found.content.service.common.vo.ArticleGroupVO;
import com.ibeeking.found.content.service.common.query.ArticleGroupQuery;
import com.ibeeking.found.content.service.common.query.ArticleGroupPageQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;


/**
 * IArticleGroupService
 *
 * @Author ibeeking
 * @Date 2022-02-18 14:14
 */
public interface IArticleGroupService {

    /***
     * 查询列表
     */
    List<ArticleGroupVO> list(ArticleGroupQuery articleGroupQuery);

    /***
     * 分页查询
     */
    Page<ArticleGroupVO> pageList(ArticleGroupPageQuery articleGroupPageQuery);

    /***
     * 新增
     */
    Boolean add(ArticleGroupParam articleGroupParam);

    /***
     * 修改
     */
    Boolean modify(ArticleGroupParam articleGroupParam);

    /***
     * 通过id查询
     */
    ArticleGroupVO view(Long id);

    /***
     * 通过id删除
     */
    Boolean del(Long id);
}
